Skip to content

lint: enable Ruff ASYNC rules - #142

Merged
davanstrien merged 2 commits into
mainfrom
lint-ruff-async
Dec 3, 2026
Merged

davanstrien merged 2 commits into
mainfrom
lint-ruff-async

Conversation

@davanstrien

@davanstrien davanstrien commented Dec 3, 2026 •

Copy link
Copy Markdown
Owner

Enables Ruff's ASYNC (flake8-async) rule set in pyproject.toml across the whole repo (saturate/, bench/, and tests/).

  • saturate/ and bench/ already pass with zero violations.
  • Uses targeted inline # noqa comments on the 4 intentional test sites (one sync file open() for multipart upload streaming in tests/test_http.py, and three bounded filesystem/file-close polling loops in tests/test_http.py and tests/test_sinks.py), keeping ASYNC strict everywhere else in tests/.

Verification

  • ruff check . & ruff format --check .: passed
  • ty check saturate tests: passed

@davanstrien
davanstrien merged commit b9a7285 into main Dec 3, 2026
18 checks passed
@davanstrien
davanstrien deleted the lint-ruff-async branch December 3, 2026 10:36
@davanstrien davanstrien mentioned this pull request Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant